﻿using System;
using System.ComponentModel.Composition;

namespace WebFabricator.org
{
    /// <summary>
    /// Interface that defines the Tapestry command pattern
    /// </summary>
    /// <typeparam name="T">Defines the type of context on which the fabricator will work</typeparam>
    [InheritedExport(typeof(IWebFabricator<>))]
    public interface IWebFabricator<T>:IDisposable
    {
        void Fabricate(T context);
    }
}
